package view.impl;

import model.EMenuState;

import org.newdawn.slick.Graphics;

 interface IViewState {
	 /**
	  * Method used to tell the state to render its content.
	  * 
	  * @param par All the different parameters that the state might need.
	  */
	 void render(Graphics g) throws RenderException;
	
	 /**
	  * Method used to tell the state that the resolution has changed. Useful 
	  * if something time-consuming needs to be done.
	  * 
	  * @param targetWidth The resolution's target width.
	  * @param targetHeight The resolution's target height.
	  */
	 void changeResolution(int targetWidth, int targetHeight);
	 
	 EMenuState getEMenuTyoe();
}
